#!/bin/sh -e

patch -p1 < fno-common.patch

export DESTDIR="$1"

cmake -B build \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib

cmake --build   build
cmake --install build
